﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Assets.Engine.AI.GeneticAlgorithm
{
    [Serializable]
    public class GeneticVariables
    {
        public float MixingRatio = 0.5f;
        public float PercentageMutation = 0.5f;
        public int MaxMutation = +3;
        public int MinMutation = -1;

        public GeneticVariables()
        {

        }

        public GeneticVariables(float MixingRatio, float PercentageMutation, int MaxMutation, int MinMutation)
        {
            this.MixingRatio = MixingRatio;
            this.PercentageMutation = PercentageMutation;
            this.MaxMutation = MaxMutation;
            this.MinMutation = MinMutation;
        }

        public override string ToString()
        {
            return "MixRatio: " + MixingRatio + " " + "PercentageMutation: " + PercentageMutation + " " +
                   "MaxMutation: " + MaxMutation + " " + "MinMutation: " + MinMutation; 
        }
    }
}
